package com.cloudkinto.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloudkinto.dto.order.returns.product.OrProductPageDto;
import com.cloudkinto.entity.OrderReturnProductDo;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hua
 * @since 2024-11-19
 */
public interface OrderReturnProductDao extends BaseMapper<OrderReturnProductDo> {

    List<OrProductPageDto> list(List<Long> returnIds);

    int updateD(List<Long> ids, Long userId);

    int updateReceiveQty(Long id, int thisReceiveGoodQty, int thisReceiveBadQty);

}
